package com.offcn.perform.service.impl;

import com.offcn.bean.Performerdetailtable;
import com.offcn.perform.dao.PerformerDao;
import com.offcn.perform.service.PerformerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PerformerServiceImpl implements PerformerService {
    @Resource
    private PerformerDao performerDao;

    @Override
    public List<Performerdetailtable> queryPerformerList(String back) {
        List<Performerdetailtable> ps = null;
        if("back".equals(back)){
            ps = performerDao.selectPerformerList(9);
        }
        return ps;
    }

}
